package cn.oatn;

import java.util.function.Consumer;

public class T1001_helloworld {

    public static void main(String[] args) {
        Consumer<String> c = System.out::println;
        c.accept("Hello World");
        c.accept("Hello Oatn");
        c.accept("Hello ASM");
        c.accept("Hello Java");        
    }

}
